import csv

myTF = []

with open("RegulationTwoColumnTable_Documented_2013927.tsv") as tsv:
    for line in csv.reader(tsv, delimiter=";"):
        myTF.append(line[0])
        myTF.append(line[1])

uniqNodes = set(myTF)

print "All the nodes are the following: ", uniqNodes
print len(uniqNodes)
